package com.halixun.d2app.utils;

import com.halixun.d2app.bean.OrderListInfo;

/**
 * @ProjectName: D2App
 * @Package: com.halixun.d2app.utils
 * @ClassName: FootsCloneUtil
 * @Description: java类作用描述
 * @Author: hdx
 * @CreateDate: 2019/11/29 14:26
 * @UpdateUser: hdx
 * @UpdateDate: 2019/11/29 14:26
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class FootsCloneUtil {
    public static OrderListInfo cloneOrderInfo(OrderListInfo orderListInfo){
        OrderListInfo info = new OrderListInfo();
        info.setSelected(orderListInfo.isSelected());
        info.setCommodityNumber(orderListInfo.getCommodityNumber());
        info.setClassID(orderListInfo.getClassID());
        info.setDescription(orderListInfo.getDescription());
        info.setFoodSkuList(orderListInfo.getFoodSkuList());
        info.setID(orderListInfo.getID());
        info.setIsError(orderListInfo.isIsError());
        info.setIsEveryDay(orderListInfo.isIsEveryDay());
        info.setIsMember(orderListInfo.getIsMember());
        info.setIsOnlyShop(orderListInfo.isIsOnlyShop());
        info.setJianPin(orderListInfo.getJianPin());
        info.setOldPrice(orderListInfo.getOldPrice());
        info.setPic(orderListInfo.getPic());
        info.setPinYin(orderListInfo.getPinYin());
        info.setPrice(orderListInfo.getPrice());
        info.setPutaway(orderListInfo.getPutaway());
        info.setSalesNum(orderListInfo.getSalesNum());
        info.setSpecialOffer(orderListInfo.getSpecialOffer());
        info.setStock(orderListInfo.getStock());
        info.setTitle(orderListInfo.getTitle());
        info.setTodaySalesNum(orderListInfo.getTodaySalesNum());
        info.setType(orderListInfo.getType());
        info.setUnit(orderListInfo.getUnit());
        return info;
    }


}
